package com.luo.chengrui.module.sa.controller.admin.datapermission.vo;

import com.luo.chengrui.module.sa.controller.admin.datapermission.vo.DataPermissionItemBaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 数据权限项，每一项对应一个业务权限场景 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DataPermissionItemRespVO extends DataPermissionItemBaseVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updater;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "逻辑删除", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean deleted;

}
